<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title></title>
  </head>
  <body>
    <h1>Hello from Electron renderer!</h1>
    <p>👋</p>
    <p id="info"></p>
    <button id="btn">点击新增窗口</button>
    <button id="setTitle">设置窗口标题</button>
    <button id="openFile">打开一个文件</button>
    文件路径: <strong id="filePath"></strong>
    <div>
      Current value: <strong id="counter">0</strong>
    </div>
    <div><button id="close">关闭</button><button id="minimize">最小化</button><button id="maximize">最大化</button></div>
    <div>
      <input id="menuInput" placeholder="请输入菜单名称"><button id="addMenuButton">添加菜单</button>
    </div>
    <div>从新窗口获取的数据：<span id="fromNew"></span></div>
    <button id="openErr">打开错误对话框</button>
    <button id="openURL">打开URL</button>
    <iframe src="https://www.kaiwu.lagou.com/" frameborder="0" id="webview"></iframe>
    <button id="createNotification">打开消息通知</button>
    <div>
      <input id="copyValue"><button id="copyBtn">复制</button>
    </div>
    <div>
      <input id="pasteValue"><button id="pasteBtn">粘贴</button>
    </div>
    <div>
      <button id="imgValue">将图片复制到剪切板，再粘贴</button>
      <img id="img" alt="占位" style="width: 200px;"/>
    </div>
  </body>
  <script src="./index.js"></script>
</html>